package engine.system;

import java.io.IOException;

import engine.j2d.Texture;
import engine.j2d.TextureLoader;

public abstract class ToolKit 
{
	private static Texture texture;
	public static Texture getTexture(String ref)
	{
		try 
		{
			texture = TextureLoader.get().getTexture(ref);
		} catch (IOException e) 
		{
			System.out.println("File not found: "+ ref);
		}
		return texture;
	}
}
